Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Packages/Import Component    [ Add a report in this area ]  
Report #:  91230   Status: Closed
Can not import .NET Assembly
Project:  Delphi Build #:  XE, XE2
Version:    16.4 Submitted By:   Avi Sand
Report Type:  Basic functionality failure Date Reported:  1/31/2011 4:49:26 AM
Severity:    Serious / Highly visible problem Last Updated: 12/13/2012 9:19:00 PM
Platform:    All versions Internal Tracking #:   34113
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : 17.0.4723.55752
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Failed to import .Net assembly on Delphi XE. Win7
Getting error "'{}' is not a valid GUID value".

Please refer to https://forums.embarcadero.com/thread.jspa?messageID=316303 as well
Steps to Reproduce:
1. Run a fresh start Delphi XE.
2. On Component menu, select Import Component...
3. In Import Component screen, select Import .NET Assembly. <Next>
  Added by Sysop
  <<<<
  3. I've got it as a closed dll. I know that it doesn't implement an ActiveX enteries.
    When I open it with "File->Open" I get the same error while at D2010 it's open OK.
    Attached screenshots of it's attributes from D2010
  >>>>
4. Click <Add> button to locate your registered Assembly dll.
5. Select assembly dll and open it.
  Added by Sysop
  <<<<
  5. Just after choosing the file and clicking "open". A screenshot of the error is   attached
  >>>>

You will get an error "'{}' is not a valid GUID value"

Workarounds
None
Attachment
91230ScreenShots.zip
Comments

Tomohiro Takahashi at 1/31/2011 10:52:03 PM -
> 3. In Import Component screen, select Import .NET Assembly. <Next>
Could you write more detail about which .NET Assembly you try to import?

> 5. Select assembly dll and open it.
> You will get an error "'{}' is not a valid GUID value"
Where do you see the error in? Could you please attach some screenshots to confrm your issue?

Avi Sand at 2/1/2011 2:40:24 AM -
3. I've got it as a closed dll. I know that it doesn't implement an ActiveX enteries.
  When I open it with "File->Open" I get the same error while at D2010 it's open OK.
  Attached screenshots of it's attributes from D2010
5. Just after choosing the file and clicking "open". A screenshot of the error is attached

Ariel Sternberg at 4/27/2011 7:19:06 PM -

Tomohiro Takahashi at 4/27/2011 7:19:50 PM -
> Impinj.OctaneSdk.dll
How to install the .dll?

Brandon Russell at 9/7/2012 7:49:45 AM -
Is there any headway on this issue? I am experiencing the same behavior with a dot net assembly in XE2. This assembly imports without any errors in delphi 2010. The assembly has a valid GUID. Something has changed in XE and XE2. The error message is a bds exception dialog that pops up after selecting the assembly to import. Thanks

Tomohiro Takahashi at 9/7/2012 6:07:35 PM -
Brandon-san
Do you have any sample .NET Assembly(.dll) to reproduce this issue?
If yes, could you please upload it(as a .zip) to Discussion Forum? I will this issue with my environment.
[Embarcadero Discussion Forums >> Attachments]
https://forums.embarcadero.com/forum.jspa?forumID=2

Andrea Casati at 12/2/2012 11:52:04 AM -
I experience the same problem trying to import component from .NET assembly (from "Impinj.OctaneSdk.dll").
Windows 7, Delphi XE2.
Error is

'{5}' is not a valid GUID value.

Details are

[5006673D]{rtl160.bpl  } System.SysUtils.ConvertErrorFmt (Line 4477, "System.SysUtils.pas" + 1) + $10
[50066775]{rtl160.bpl  } System.SysUtils.InvalidGUID (Line 4547, "System.SysUtils.pas" + 1) + $17
[50066820]{rtl160.bpl  } System.SysUtils.StringToGUID (Line 4572, "System.SysUtils.pas" + 1) + $24
[51B75852]{asmview160.bpl} Assembly.TAssembly.Open (Line 3968, "Assembly.pas" + 80) + $56
[51B75312]{asmview160.bpl} Assembly.TAssembly.LoadFromFile (Line 3824, "Assembly.pas" + 41) + $4
[51409AC5]{comcore160.bpl} ImportAssembly.TAssemblySelectionManager.OpenFile (Line 295, "ImportAssembly.pas" + 6) + $5
[51409A26]{comcore160.bpl} ImportAssembly.TAssemblySelectionManager.OnAdd (Line 280, "ImportAssembly.pas" + 8) + $12
[20854953]{coreide160.bpl} ItemsWizardPage.TListFrame.AddButtonClick (Line 551, "ItemsWizardPage.pas" + 1) + $16
[50332D67]{vcl160.bpl  } Vcl.Controls.TControl.Click (Line 7320, "Vcl.Controls.pas" + 9) + $8
[5035701E]{vcl160.bpl  } Vcl.StdCtrls.TCustomButton.Click (Line 5160, "Vcl.StdCtrls.pas" + 3) + $2
[50357B0C]{vcl160.bpl  } Vcl.StdCtrls.TCustomButton.CNCommand (Line 5621, "Vcl.StdCtrls.pas" + 1) + $D
[5033280D]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[5033715B]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[50356CE8]{vcl160.bpl  } Vcl.StdCtrls.TButtonControl.WndProc (Line 5002, "Vcl.StdCtrls.pas" + 13) + $4
[50332448]{vcl160.bpl  } Vcl.Controls.TControl.Perform (Line 6982, "Vcl.Controls.pas" + 10) + $8
[503372AB]{vcl160.bpl  } Vcl.Controls.DoControlMsg (Line 10045, "Vcl.Controls.pas" + 12) + $11
[50337D37]{vcl160.bpl  } Vcl.Controls.TWinControl.WMCommand (Line 10320, "Vcl.Controls.pas" + 1) + $5
[5033280D]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[50337258]{vcl160.bpl  } Vcl.Controls.TWinControl.DefaultHandler (Line 10017, "Vcl.Controls.pas" + 30) + $17
[5033280D]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[5033715B]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[20FB0A92]{designide160.bpl} DeskUtil.SetFocusHook (Line 462, "DeskUtil.pas" + 4) + $C
[503367B0]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[500B6030]{rtl160.bpl  } System.Classes.MakeObjectInstance (Line 13921, "System.Classes.pas" + 0) + $0
[50337258]{vcl160.bpl  } Vcl.Controls.TWinControl.DefaultHandler (Line 10017, "Vcl.Controls.pas" + 30) + $17
[503331BC]{vcl160.bpl  } Vcl.Controls.TControl.WMLButtonUp (Line 7453, "Vcl.Controls.pas" + 1) + $6
[50333126]{vcl160.bpl  } Vcl.Controls.TControl.WMMouseMove (Line 7436, "Vcl.Controls.pas" + 8) + $22
[5033280D]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[503369A3]{vcl160.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9745, "Vcl.Controls.pas" + 1) + $9
[5032D636]{vcl160.bpl  } Vcl.Controls.FindControl (Line 3540, "Vcl.Controls.pas" + 6) + $9
[5033715B]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[50356CE8]{vcl160.bpl  } Vcl.StdCtrls.TButtonControl.WndProc (Line 5002, "Vcl.StdCtrls.pas" + 13) + $4
[503367B0]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[500B6030]{rtl160.bpl  } System.Classes.MakeObjectInstance (Line 13921, "System.Classes.pas" + 0) + $0
[504525E7]{vcl160.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1
[5045262A]{vcl160.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4
[5044DEB1]{vcl160.bpl  } Vcl.Forms.TCustomForm.ShowModal (Line 7035, "Vcl.Forms.pas" + 33) + $5
[20850520]{coreide160.bpl} Wizard.TWizard.Show (Line 923, "Wizard.pas" + 14) + $9
[51416300]{comcore160.bpl} ImportComponentWizard.CreateImportComponent (Line 331, "ImportComponentWizard.pas" + 15) + $5
[5141C07C]{comcore160.bpl} ComStdReg.TComMenus.DoImportComponentExecute (Line 118, "ComStdReg.pas" + 0) + $4
[500B533B]{rtl160.bpl  } System.Classes.TBasicAction.Update (Line 13380, "System.Classes.pas" + 1) + $6
[5031B705]{vcl160.bpl  } Vcl.ActnList.TContainedAction.Execute (Line 448, "Vcl.ActnList.pas" + 8) + $2C
[5031C4F0]{vcl160.bpl  } Vcl.ActnList.TCustomAction.Execute (Line 1094, "Vcl.ActnList.pas" + 7) + $8
[500B51FF]{rtl160.bpl  } System.Classes.TBasicActionLink.SetAction (Line 13306, "System.Classes.pas" + 1) + $5
[21734D6D]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMenuBar.ExecAction (Line 1076, "Vcl.ActnMenus.pas" + 6) + $D
[217365E4]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMenuBar.TrackMenu (Line 1842, "Vcl.ActnMenus.pas" + 19) + $15
[21739F1E]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3636, "Vcl.ActnMenus.pas" + 5) + $3
[2173492D]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 955, "Vcl.ActnMenus.pas" + 3) + $4
[5033280D]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[50332448]{vcl160.bpl  } Vcl.Controls.TControl.Perform (Line 6982, "Vcl.Controls.pas" + 10) + $8
[503368A8]{vcl160.bpl  } Vcl.Controls.GetControlAtPos (Line 9712, "Vcl.Controls.pas" + 4) + $76
[5033701E]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9933, "Vcl.Controls.pas" + 109) + $1D
[5033715B]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[5003D4F7]{rtl160.bpl  } System.TMonitor.TryEnter (Line 14786, "System.pas" + 10) + $0
[5003D06C]{rtl160.bpl  } System.TMonitor.Enter (Line 14489, "System.pas" + 4) + $2
[5003CF10]{rtl160.bpl  } System.TMonitor.CheckOwningThread (Line 14411, "System.pas" + 2) + $0
[5003D216]{rtl160.bpl  } System.TMonitor.Exit (Line 14600, "System.pas" + 9) + $7
[217366FA]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMenuBar.WndProc (Line 1881, "Vcl.ActnMenus.pas" + 25) + $4
[503367B0]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[500B6030]{rtl160.bpl  } System.Classes.MakeObjectInstance (Line 13921, "System.Classes.pas" + 0) + $0
[5032D636]{vcl160.bpl  } Vcl.Controls.FindControl (Line 3540, "Vcl.Controls.pas" + 6) + $9
[504525E7]{vcl160.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1
[5045262A]{vcl160.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4
[5045295D]{vcl160.bpl  } Vcl.Forms.TApplication.Run (Line 10331, "Vcl.Forms.pas" + 26) + $3

Tomohiro Takahashi at 12/13/2012 9:16:44 PM -
Does your issue still occur with Delphi XE3 Update 1(Trial)?

Dirk Roemermann at 12/18/2012 4:38:39 PM -
Hello Tomohiro Takahashi,

I still have the same Problem under RAD Studio XE3 Upd. 1,
using C++-Builder, no Project started.
I reported the same Problems under

#111395 and #111420 (Open to read .net-Assembly-dll).

So if you would like to have I will send you the
needed .net-dll.

Thanks

Tomohiro Takahashi at 12/18/2012 6:29:24 PM -
Dirk-san
Could you please put new QC report for XE3 Update 1?

Dirk Roemermann at 12/20/2012 9:44:56 AM -
Ok, I will do so,

thanks for response

dirk

Server Response from: ETNACODE01