S
sufferthefools
how do i change a property on the calling exe from the called dll?
i only get access violations
i only get access violations
Then you had better ask in a windows programming group.sufferthefools said:how do i change a property on the calling exe from the called dll?
i only get access violations
Sharad said:| how do i change a property on the calling exe from the called dll?
| i only get access violations
What's your question on the C++ language?
Sharad
Sharad said:| Sharad Kala wrote:
| > | how do i change a property on the calling exe from the called dll?
| > | i only get access violations
| >
| > What's your question on the C++ language?
| >
| > Sharad
|
|
|
| i want to change a label on the master form calling the dll from the
| dll.
|
| i get it to call the function
| dynamic_cast<TForm1*>(this->Owner)->ChangeLable("asdf");
|
| but in the function
| void __fastcall TForm1::ChangeLable(AnsiString wes)
| {
|
| Label2->Caption = wes;
| }
| an access violation gets thrown
Two things
1. Post minimal code that compiles to demonstrate your problem
2. You deal with a lot of OT stuff for this newsgroup. Try newsgroups on
msnews.microsoft.com.
Sharad
Sharad said:| what do you mean with OT ?
Off topic
| second i don't understand why i am being referred. i have seen many
| example of dll questions in this group,
Really? Read this -- http://www.slack.net/~shiva/welcome.txt
Sharad
how do i change a property on the calling exe from the called dll?
i only get access violations
sufferthefools said:what do you mean with OT ?
second i don't understand why i am being referred. i have seen many
example of dll questions in this group,
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.