I am using the latest version (Trial) of UniDAC, with Delphi 2010. Install went fine. I am able to load the UniDacDemo and compile / run it. However, when I load it into the IDE, I get the message "Error Creating form: Ancestor for TDemoForm not found". The app compiles and runs, but I am not able to view any of the forms when in the IDE.
I want to see what the ConnectDialog form does...
I go to the ConnectDialog folder.
I doubleclick on ConnectDialog.dfm, and I get a similar message "Error creating form: Ancestor for 'TDemoFrame' not fouind.
I can view the ConnectDialog.pas, but not the DFM file. I can compile and run, but the frame/ancestor forms is not working well.. What can I do?
Thanks,
GS
Problems with UniDAC Demo
-
AndreyZ
Hello,
Thank you for the information. We have reproduced the problem and investigation of the problem is in progress. As soon as we have any results we will let you know.
As a workaround, you can replace the following code in all .pas files of UniDACDemo where it exists:with the following code:
Thank you for the information. We have reproduced the problem and investigation of the problem is in progress. As soon as we have any results we will let you know.
As a workaround, you can replace the following code in all .pas files of UniDACDemo where it exists:
Code: Select all
{$IFDEF WIN32_64}
{$R *.dfm}
{$ENDIF}Code: Select all
{$IFDEF MSWINDOWS}
{$R *.dfm}
{$ENDIF}That only causes other problems....
OK, I have done that, now I get a whole bunch of errors stating "Module 'Connect Dialog' links to module UniDacForm' which cannot be found in the current project. Do you wish to remove/redirect the links to another module?
I try to fix this error, and then it changes from ConnectDialog to module QueryFrame, etc, etc...
Please provide a WORKING DEMO for your product...
Thanks,
George S
I try to fix this error, and then it changes from ConnectDialog to module QueryFrame, etc, etc...
Please provide a WORKING DEMO for your product...
Thanks,
George S
-
AndreyZ
I cannot reproduce this problem. Please try the following:
- uninstall UniDAC;
- install UniDAC;
- make changes that I described in my previous post.
Does this solve the problem? If the problem persists, please specify the full version of RAD Studio 2010 you are using, for example, RAD Studio 2010 14.0.3513.24210 Architect.
- uninstall UniDAC;
- install UniDAC;
- make changes that I described in my previous post.
Does this solve the problem? If the problem persists, please specify the full version of RAD Studio 2010 you are using, for example, RAD Studio 2010 14.0.3513.24210 Architect.
Found the bug
I also encountered this problem, but solved.
1. Open the project, then open DemoForm.pas
2. in line 169, found the 'WIN32_64'
3. replace it with 'MSWINDOWS'
Run it again, problem solved. Try it, may be it works for you too.
1. Open the project, then open DemoForm.pas
2. in line 169, found the 'WIN32_64'
3. replace it with 'MSWINDOWS'
Run it again, problem solved. Try it, may be it works for you too.