hello guys...Due to some reasons I need to pass a variable's address to MeessageBox().
I am using a function which returns a pointer to the item selected from combo box. Now I want to show this item's name in the MesageBox(). How can I do that? thnx``````

Recommended Answers

All 2 Replies

what have you tried? The first two parameters to MessageBox do not ave to be string literals, they can be pointers to strings.

thanx....I did it. I used the pointer to that (returned) string and did it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.